3.285 \(\int \frac{c+d x^3+e x^6+f x^9}{x^{13} \left (a+b x^3\right )^3} \, dx\)

Optimal. Leaf size=258 \[ \frac{3 b c-a d}{9 a^4 x^9}-\frac{c}{12 a^3 x^{12}}-\frac{a^2 e-3 a b d+6 b^2 c}{6 a^5 x^6}-\frac{b \log \left (a+b x^3\right ) \left (-3 a^3 f+6 a^2 b e-10 a b^2 d+15 b^3 c\right )}{3 a^7}+\frac{b \log (x) \left (-3 a^3 f+6 a^2 b e-10 a b^2 d+15 b^3 c\right )}{a^7}+\frac{b \left (-2 a^3 f+3 a^2 b e-4 a b^2 d+5 b^3 c\right )}{3 a^6 \left (a+b x^3\right )}+\frac{a^3 (-f)+3 a^2 b e-6 a b^2 d+10 b^3 c}{3 a^6 x^3}+\frac{b \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{6 a^5 \left (a+b x^3\right )^2} \]

[Out]

-c/(12*a^3*x^12) + (3*b*c - a*d)/(9*a^4*x^9) - (6*b^2*c - 3*a*b*d + a^2*e)/(6*a^
5*x^6) + (10*b^3*c - 6*a*b^2*d + 3*a^2*b*e - a^3*f)/(3*a^6*x^3) + (b*(b^3*c - a*
b^2*d + a^2*b*e - a^3*f))/(6*a^5*(a + b*x^3)^2) + (b*(5*b^3*c - 4*a*b^2*d + 3*a^
2*b*e - 2*a^3*f))/(3*a^6*(a + b*x^3)) + (b*(15*b^3*c - 10*a*b^2*d + 6*a^2*b*e -
3*a^3*f)*Log[x])/a^7 - (b*(15*b^3*c - 10*a*b^2*d + 6*a^2*b*e - 3*a^3*f)*Log[a +
b*x^3])/(3*a^7)

_______________________________________________________________________________________

Rubi [A]  time = 0.670518, antiderivative size = 258, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{3 b c-a d}{9 a^4 x^9}-\frac{c}{12 a^3 x^{12}}-\frac{a^2 e-3 a b d+6 b^2 c}{6 a^5 x^6}-\frac{b \log \left (a+b x^3\right ) \left (-3 a^3 f+6 a^2 b e-10 a b^2 d+15 b^3 c\right )}{3 a^7}+\frac{b \log (x) \left (-3 a^3 f+6 a^2 b e-10 a b^2 d+15 b^3 c\right )}{a^7}+\frac{b \left (-2 a^3 f+3 a^2 b e-4 a b^2 d+5 b^3 c\right )}{3 a^6 \left (a+b x^3\right )}+\frac{a^3 (-f)+3 a^2 b e-6 a b^2 d+10 b^3 c}{3 a^6 x^3}+\frac{b \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{6 a^5 \left (a+b x^3\right )^2} \]

Antiderivative was successfully verified.

[In]  Int[(c + d*x^3 + e*x^6 + f*x^9)/(x^13*(a + b*x^3)^3),x]

[Out]

-c/(12*a^3*x^12) + (3*b*c - a*d)/(9*a^4*x^9) - (6*b^2*c - 3*a*b*d + a^2*e)/(6*a^
5*x^6) + (10*b^3*c - 6*a*b^2*d + 3*a^2*b*e - a^3*f)/(3*a^6*x^3) + (b*(b^3*c - a*
b^2*d + a^2*b*e - a^3*f))/(6*a^5*(a + b*x^3)^2) + (b*(5*b^3*c - 4*a*b^2*d + 3*a^
2*b*e - 2*a^3*f))/(3*a^6*(a + b*x^3)) + (b*(15*b^3*c - 10*a*b^2*d + 6*a^2*b*e -
3*a^3*f)*Log[x])/a^7 - (b*(15*b^3*c - 10*a*b^2*d + 6*a^2*b*e - 3*a^3*f)*Log[a +
b*x^3])/(3*a^7)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 91.9342, size = 262, normalized size = 1.02 \[ - \frac{c}{12 a^{3} x^{12}} - \frac{a d - 3 b c}{9 a^{4} x^{9}} - \frac{b \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right )}{6 a^{5} \left (a + b x^{3}\right )^{2}} - \frac{a^{2} e - 3 a b d + 6 b^{2} c}{6 a^{5} x^{6}} - \frac{b \left (2 a^{3} f - 3 a^{2} b e + 4 a b^{2} d - 5 b^{3} c\right )}{3 a^{6} \left (a + b x^{3}\right )} - \frac{a^{3} f - 3 a^{2} b e + 6 a b^{2} d - 10 b^{3} c}{3 a^{6} x^{3}} - \frac{b \left (3 a^{3} f - 6 a^{2} b e + 10 a b^{2} d - 15 b^{3} c\right ) \log{\left (x^{3} \right )}}{3 a^{7}} + \frac{b \left (3 a^{3} f - 6 a^{2} b e + 10 a b^{2} d - 15 b^{3} c\right ) \log{\left (a + b x^{3} \right )}}{3 a^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((f*x**9+e*x**6+d*x**3+c)/x**13/(b*x**3+a)**3,x)

[Out]

-c/(12*a**3*x**12) - (a*d - 3*b*c)/(9*a**4*x**9) - b*(a**3*f - a**2*b*e + a*b**2
*d - b**3*c)/(6*a**5*(a + b*x**3)**2) - (a**2*e - 3*a*b*d + 6*b**2*c)/(6*a**5*x*
*6) - b*(2*a**3*f - 3*a**2*b*e + 4*a*b**2*d - 5*b**3*c)/(3*a**6*(a + b*x**3)) -
(a**3*f - 3*a**2*b*e + 6*a*b**2*d - 10*b**3*c)/(3*a**6*x**3) - b*(3*a**3*f - 6*a
**2*b*e + 10*a*b**2*d - 15*b**3*c)*log(x**3)/(3*a**7) + b*(3*a**3*f - 6*a**2*b*e
 + 10*a*b**2*d - 15*b**3*c)*log(a + b*x**3)/(3*a**7)

_______________________________________________________________________________________

Mathematica [A]  time = 0.415773, size = 238, normalized size = 0.92 \[ \frac{12 b \log \left (a+b x^3\right ) \left (3 a^3 f-6 a^2 b e+10 a b^2 d-15 b^3 c\right )+36 b \log (x) \left (-3 a^3 f+6 a^2 b e-10 a b^2 d+15 b^3 c\right )-\frac{a \left (a^5 \left (3 c+4 d x^3+6 e x^6+12 f x^9\right )-2 a^4 b x^3 \left (3 c+5 d x^3+12 e x^6-27 f x^9\right )+a^3 b^2 x^6 \left (15 c+40 d x^3-108 e x^6+36 f x^9\right )-12 a^2 b^3 x^9 \left (5 c-15 d x^3+6 e x^6\right )+30 a b^4 x^{12} \left (4 d x^3-9 c\right )-180 b^5 c x^{15}\right )}{x^{12} \left (a+b x^3\right )^2}}{36 a^7} \]

Antiderivative was successfully verified.

[In]  Integrate[(c + d*x^3 + e*x^6 + f*x^9)/(x^13*(a + b*x^3)^3),x]

[Out]

(-((a*(-180*b^5*c*x^15 + 30*a*b^4*x^12*(-9*c + 4*d*x^3) - 12*a^2*b^3*x^9*(5*c -
15*d*x^3 + 6*e*x^6) - 2*a^4*b*x^3*(3*c + 5*d*x^3 + 12*e*x^6 - 27*f*x^9) + a^5*(3
*c + 4*d*x^3 + 6*e*x^6 + 12*f*x^9) + a^3*b^2*x^6*(15*c + 40*d*x^3 - 108*e*x^6 +
36*f*x^9)))/(x^12*(a + b*x^3)^2)) + 36*b*(15*b^3*c - 10*a*b^2*d + 6*a^2*b*e - 3*
a^3*f)*Log[x] + 12*b*(-15*b^3*c + 10*a*b^2*d - 6*a^2*b*e + 3*a^3*f)*Log[a + b*x^
3])/(36*a^7)

_______________________________________________________________________________________

Maple [A]  time = 0.03, size = 349, normalized size = 1.4 \[ -{\frac{c}{12\,{a}^{3}{x}^{12}}}-{\frac{d}{9\,{a}^{3}{x}^{9}}}-{\frac{e}{6\,{a}^{3}{x}^{6}}}-{\frac{f}{3\,{a}^{3}{x}^{3}}}+{\frac{bc}{3\,{a}^{4}{x}^{9}}}+{\frac{bd}{2\,{a}^{4}{x}^{6}}}-{\frac{{b}^{2}c}{{a}^{5}{x}^{6}}}-10\,{\frac{{b}^{3}\ln \left ( x \right ) d}{{a}^{6}}}-3\,{\frac{b\ln \left ( x \right ) f}{{a}^{4}}}+6\,{\frac{{b}^{2}\ln \left ( x \right ) e}{{a}^{5}}}+{\frac{be}{{a}^{4}{x}^{3}}}-2\,{\frac{{b}^{2}d}{{a}^{5}{x}^{3}}}+{\frac{10\,{b}^{3}c}{3\,{a}^{6}{x}^{3}}}-{\frac{fb}{6\,{a}^{2} \left ( b{x}^{3}+a \right ) ^{2}}}+{\frac{e{b}^{2}}{6\,{a}^{3} \left ( b{x}^{3}+a \right ) ^{2}}}-{\frac{{b}^{3}d}{6\,{a}^{4} \left ( b{x}^{3}+a \right ) ^{2}}}+{\frac{{b}^{4}c}{6\,{a}^{5} \left ( b{x}^{3}+a \right ) ^{2}}}-{\frac{2\,fb}{3\,{a}^{3} \left ( b{x}^{3}+a \right ) }}+{\frac{e{b}^{2}}{{a}^{4} \left ( b{x}^{3}+a \right ) }}-{\frac{4\,{b}^{3}d}{3\,{a}^{5} \left ( b{x}^{3}+a \right ) }}+{\frac{5\,{b}^{4}c}{3\,{a}^{6} \left ( b{x}^{3}+a \right ) }}+{\frac{b\ln \left ( b{x}^{3}+a \right ) f}{{a}^{4}}}-2\,{\frac{{b}^{2}\ln \left ( b{x}^{3}+a \right ) e}{{a}^{5}}}+{\frac{10\,{b}^{3}\ln \left ( b{x}^{3}+a \right ) d}{3\,{a}^{6}}}-5\,{\frac{{b}^{4}\ln \left ( b{x}^{3}+a \right ) c}{{a}^{7}}}+15\,{\frac{{b}^{4}\ln \left ( x \right ) c}{{a}^{7}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((f*x^9+e*x^6+d*x^3+c)/x^13/(b*x^3+a)^3,x)

[Out]

-1/12*c/a^3/x^12-1/9/a^3/x^9*d-1/6/a^3/x^6*e-1/3/a^3/x^3*f+1/3/a^4/x^9*b*c+1/2/a
^4/x^6*b*d-1/a^5/x^6*b^2*c-10*b^3/a^6*ln(x)*d-3*b/a^4*ln(x)*f+6*b^2/a^5*ln(x)*e+
1/a^4/x^3*b*e-2/a^5/x^3*b^2*d+10/3/a^6/x^3*b^3*c-1/6*b/a^2/(b*x^3+a)^2*f+1/6*b^2
/a^3/(b*x^3+a)^2*e-1/6*b^3/a^4/(b*x^3+a)^2*d+1/6*b^4/a^5/(b*x^3+a)^2*c-2/3*b/a^3
/(b*x^3+a)*f+b^2/a^4/(b*x^3+a)*e-4/3*b^3/a^5/(b*x^3+a)*d+5/3*b^4/a^6/(b*x^3+a)*c
+b/a^4*ln(b*x^3+a)*f-2*b^2/a^5*ln(b*x^3+a)*e+10/3*b^3/a^6*ln(b*x^3+a)*d-5*b^4/a^
7*ln(b*x^3+a)*c+15*b^4/a^7*ln(x)*c

_______________________________________________________________________________________

Maxima [A]  time = 1.39292, size = 378, normalized size = 1.47 \[ \frac{12 \,{\left (15 \, b^{5} c - 10 \, a b^{4} d + 6 \, a^{2} b^{3} e - 3 \, a^{3} b^{2} f\right )} x^{15} + 18 \,{\left (15 \, a b^{4} c - 10 \, a^{2} b^{3} d + 6 \, a^{3} b^{2} e - 3 \, a^{4} b f\right )} x^{12} + 4 \,{\left (15 \, a^{2} b^{3} c - 10 \, a^{3} b^{2} d + 6 \, a^{4} b e - 3 \, a^{5} f\right )} x^{9} -{\left (15 \, a^{3} b^{2} c - 10 \, a^{4} b d + 6 \, a^{5} e\right )} x^{6} - 3 \, a^{5} c + 2 \,{\left (3 \, a^{4} b c - 2 \, a^{5} d\right )} x^{3}}{36 \,{\left (a^{6} b^{2} x^{18} + 2 \, a^{7} b x^{15} + a^{8} x^{12}\right )}} - \frac{{\left (15 \, b^{4} c - 10 \, a b^{3} d + 6 \, a^{2} b^{2} e - 3 \, a^{3} b f\right )} \log \left (b x^{3} + a\right )}{3 \, a^{7}} + \frac{{\left (15 \, b^{4} c - 10 \, a b^{3} d + 6 \, a^{2} b^{2} e - 3 \, a^{3} b f\right )} \log \left (x^{3}\right )}{3 \, a^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^9 + e*x^6 + d*x^3 + c)/((b*x^3 + a)^3*x^13),x, algorithm="maxima")

[Out]

1/36*(12*(15*b^5*c - 10*a*b^4*d + 6*a^2*b^3*e - 3*a^3*b^2*f)*x^15 + 18*(15*a*b^4
*c - 10*a^2*b^3*d + 6*a^3*b^2*e - 3*a^4*b*f)*x^12 + 4*(15*a^2*b^3*c - 10*a^3*b^2
*d + 6*a^4*b*e - 3*a^5*f)*x^9 - (15*a^3*b^2*c - 10*a^4*b*d + 6*a^5*e)*x^6 - 3*a^
5*c + 2*(3*a^4*b*c - 2*a^5*d)*x^3)/(a^6*b^2*x^18 + 2*a^7*b*x^15 + a^8*x^12) - 1/
3*(15*b^4*c - 10*a*b^3*d + 6*a^2*b^2*e - 3*a^3*b*f)*log(b*x^3 + a)/a^7 + 1/3*(15
*b^4*c - 10*a*b^3*d + 6*a^2*b^2*e - 3*a^3*b*f)*log(x^3)/a^7

_______________________________________________________________________________________

Fricas [A]  time = 0.299195, size = 605, normalized size = 2.34 \[ \frac{12 \,{\left (15 \, a b^{5} c - 10 \, a^{2} b^{4} d + 6 \, a^{3} b^{3} e - 3 \, a^{4} b^{2} f\right )} x^{15} + 18 \,{\left (15 \, a^{2} b^{4} c - 10 \, a^{3} b^{3} d + 6 \, a^{4} b^{2} e - 3 \, a^{5} b f\right )} x^{12} + 4 \,{\left (15 \, a^{3} b^{3} c - 10 \, a^{4} b^{2} d + 6 \, a^{5} b e - 3 \, a^{6} f\right )} x^{9} - 3 \, a^{6} c -{\left (15 \, a^{4} b^{2} c - 10 \, a^{5} b d + 6 \, a^{6} e\right )} x^{6} + 2 \,{\left (3 \, a^{5} b c - 2 \, a^{6} d\right )} x^{3} - 12 \,{\left ({\left (15 \, b^{6} c - 10 \, a b^{5} d + 6 \, a^{2} b^{4} e - 3 \, a^{3} b^{3} f\right )} x^{18} + 2 \,{\left (15 \, a b^{5} c - 10 \, a^{2} b^{4} d + 6 \, a^{3} b^{3} e - 3 \, a^{4} b^{2} f\right )} x^{15} +{\left (15 \, a^{2} b^{4} c - 10 \, a^{3} b^{3} d + 6 \, a^{4} b^{2} e - 3 \, a^{5} b f\right )} x^{12}\right )} \log \left (b x^{3} + a\right ) + 36 \,{\left ({\left (15 \, b^{6} c - 10 \, a b^{5} d + 6 \, a^{2} b^{4} e - 3 \, a^{3} b^{3} f\right )} x^{18} + 2 \,{\left (15 \, a b^{5} c - 10 \, a^{2} b^{4} d + 6 \, a^{3} b^{3} e - 3 \, a^{4} b^{2} f\right )} x^{15} +{\left (15 \, a^{2} b^{4} c - 10 \, a^{3} b^{3} d + 6 \, a^{4} b^{2} e - 3 \, a^{5} b f\right )} x^{12}\right )} \log \left (x\right )}{36 \,{\left (a^{7} b^{2} x^{18} + 2 \, a^{8} b x^{15} + a^{9} x^{12}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^9 + e*x^6 + d*x^3 + c)/((b*x^3 + a)^3*x^13),x, algorithm="fricas")

[Out]

1/36*(12*(15*a*b^5*c - 10*a^2*b^4*d + 6*a^3*b^3*e - 3*a^4*b^2*f)*x^15 + 18*(15*a
^2*b^4*c - 10*a^3*b^3*d + 6*a^4*b^2*e - 3*a^5*b*f)*x^12 + 4*(15*a^3*b^3*c - 10*a
^4*b^2*d + 6*a^5*b*e - 3*a^6*f)*x^9 - 3*a^6*c - (15*a^4*b^2*c - 10*a^5*b*d + 6*a
^6*e)*x^6 + 2*(3*a^5*b*c - 2*a^6*d)*x^3 - 12*((15*b^6*c - 10*a*b^5*d + 6*a^2*b^4
*e - 3*a^3*b^3*f)*x^18 + 2*(15*a*b^5*c - 10*a^2*b^4*d + 6*a^3*b^3*e - 3*a^4*b^2*
f)*x^15 + (15*a^2*b^4*c - 10*a^3*b^3*d + 6*a^4*b^2*e - 3*a^5*b*f)*x^12)*log(b*x^
3 + a) + 36*((15*b^6*c - 10*a*b^5*d + 6*a^2*b^4*e - 3*a^3*b^3*f)*x^18 + 2*(15*a*
b^5*c - 10*a^2*b^4*d + 6*a^3*b^3*e - 3*a^4*b^2*f)*x^15 + (15*a^2*b^4*c - 10*a^3*
b^3*d + 6*a^4*b^2*e - 3*a^5*b*f)*x^12)*log(x))/(a^7*b^2*x^18 + 2*a^8*b*x^15 + a^
9*x^12)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x**9+e*x**6+d*x**3+c)/x**13/(b*x**3+a)**3,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.217273, size = 513, normalized size = 1.99 \[ \frac{{\left (15 \, b^{4} c - 10 \, a b^{3} d - 3 \, a^{3} b f + 6 \, a^{2} b^{2} e\right )}{\rm ln}\left ({\left | x \right |}\right )}{a^{7}} - \frac{{\left (15 \, b^{5} c - 10 \, a b^{4} d - 3 \, a^{3} b^{2} f + 6 \, a^{2} b^{3} e\right )}{\rm ln}\left ({\left | b x^{3} + a \right |}\right )}{3 \, a^{7} b} + \frac{45 \, b^{6} c x^{6} - 30 \, a b^{5} d x^{6} - 9 \, a^{3} b^{3} f x^{6} + 18 \, a^{2} b^{4} x^{6} e + 100 \, a b^{5} c x^{3} - 68 \, a^{2} b^{4} d x^{3} - 22 \, a^{4} b^{2} f x^{3} + 42 \, a^{3} b^{3} x^{3} e + 56 \, a^{2} b^{4} c - 39 \, a^{3} b^{3} d - 14 \, a^{5} b f + 25 \, a^{4} b^{2} e}{6 \,{\left (b x^{3} + a\right )}^{2} a^{7}} - \frac{375 \, b^{4} c x^{12} - 250 \, a b^{3} d x^{12} - 75 \, a^{3} b f x^{12} + 150 \, a^{2} b^{2} x^{12} e - 120 \, a b^{3} c x^{9} + 72 \, a^{2} b^{2} d x^{9} + 12 \, a^{4} f x^{9} - 36 \, a^{3} b x^{9} e + 36 \, a^{2} b^{2} c x^{6} - 18 \, a^{3} b d x^{6} + 6 \, a^{4} x^{6} e - 12 \, a^{3} b c x^{3} + 4 \, a^{4} d x^{3} + 3 \, a^{4} c}{36 \, a^{7} x^{12}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x^9 + e*x^6 + d*x^3 + c)/((b*x^3 + a)^3*x^13),x, algorithm="giac")

[Out]

(15*b^4*c - 10*a*b^3*d - 3*a^3*b*f + 6*a^2*b^2*e)*ln(abs(x))/a^7 - 1/3*(15*b^5*c
 - 10*a*b^4*d - 3*a^3*b^2*f + 6*a^2*b^3*e)*ln(abs(b*x^3 + a))/(a^7*b) + 1/6*(45*
b^6*c*x^6 - 30*a*b^5*d*x^6 - 9*a^3*b^3*f*x^6 + 18*a^2*b^4*x^6*e + 100*a*b^5*c*x^
3 - 68*a^2*b^4*d*x^3 - 22*a^4*b^2*f*x^3 + 42*a^3*b^3*x^3*e + 56*a^2*b^4*c - 39*a
^3*b^3*d - 14*a^5*b*f + 25*a^4*b^2*e)/((b*x^3 + a)^2*a^7) - 1/36*(375*b^4*c*x^12
 - 250*a*b^3*d*x^12 - 75*a^3*b*f*x^12 + 150*a^2*b^2*x^12*e - 120*a*b^3*c*x^9 + 7
2*a^2*b^2*d*x^9 + 12*a^4*f*x^9 - 36*a^3*b*x^9*e + 36*a^2*b^2*c*x^6 - 18*a^3*b*d*
x^6 + 6*a^4*x^6*e - 12*a^3*b*c*x^3 + 4*a^4*d*x^3 + 3*a^4*c)/(a^7*x^12)